package cn.ruanyun.backInterface.modules.business.profitPercent.vo;

import cn.ruanyun.backInterface.common.enums.ProfitTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
@Accessors(chain = true)
public class ProfitPercentVo {

    private String id;

    @ApiModelProperty("行业名称")
    private String categoryName;

    @ApiModelProperty("商家分成")
    private BigDecimal storeProfit;

    @ApiModelProperty("行业id")
    private String categoryId;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
